<template>
    <div>
        <li @click='delcomp'>{{content}}</li>
    </div>
</template>

<script>
export default {
  props: ["content", "index"],
  methods: {
    delcomp: function(index) {
      // alert(this.index);
      this.$emit("delcomp", "test");
    }
  }
};
</script>

<style>
</style>
